type IFormType = "input" | "password" | "select" | "datepicker"
type position = "left" | "right" | "top"
export interface IFormItem {
  field: string
  type: IFormType
  label: string
  rules?: any[]
  placeholder?: any
  // 针对select
  options?: any[]
  // 针对特殊的属性
  otherOptions?: any
  isHidden?: boolean
}
export interface IForm {
  labelWidth?: string
  labelPosition?: position
  itemStyle?: any
  colLayout?: any
  formItems: IFormItem[]
}
